package com.shxc.smarttrade.old.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by jcdev1 on 2017/5/16.
 */

public class HomePagerDatas extends ErrorStatus {

    /**
     * data : {"stat":{"onedayOrder":500,"onlineNum":400},"masters":[{"lot":1,"totalProfit":3051.61,"headUrl":"https://www.tigerwit.com/avatar/1325807_150.jpg","succRate":55.34,"historySum":268,"userCode":"1325807","username":"鹰击长空"},{"lot":0.6,"totalProfit":1305.99,"headUrl":"https://www.tigerwit.com/avatar/1335105_150.jpg","succRate":96,"historySum":200,"userCode":"1335105","username":"新世界"},{"lot":1,"totalProfit":795.99,"headUrl":"https://www.tigerwit.com/avatar/1330625_150.jpg","succRate":88.83,"historySum":90,"userCode":"1330625","username":"正源"}],"banners":["banner1","banner2","banner3"],"symbols":[{"market":1.00303,"symbolCn":"澳元加元","symbolEn":"AUDCAD","openPrice":1.00622,"rise":-0.00319,"riseRate":-0.317},{"market":1244.68,"symbolCn":"黄金","symbolEn":"XAUUSD","openPrice":1253.69,"rise":-9.01,"riseRate":-1},{"market":5778,"symbolCn":"澳洲股指","symbolEn":"AUS200","openPrice":5766,"rise":12,"riseRate":0},{"market":0.75851,"symbolCn":"澳元美元","symbolEn":"AUDUSD","openPrice":0.76167,"rise":-0.00316,"riseRate":-0.415},{"market":1.47,"symbolCn":"欧元澳元","symbolEn":"EURAUD","openPrice":1.46918,"rise":8.2E-4,"riseRate":0.056},{"market":1.6777,"symbolCn":"英镑澳元","symbolEn":"GBPAUD","openPrice":1.67393,"rise":0.00377,"riseRate":0.225},{"market":12908.65,"symbolCn":"德国股指","symbolEn":"GER30","openPrice":12822.95,"rise":85.7,"riseRate":1},{"market":21528,"symbolCn":"道琼斯工业指数","symbolEn":"US30","openPrice":21399,"rise":129,"riseRate":1},{"market":44.518,"symbolCn":"西德州原油","symbolEn":"XTIUSD","openPrice":44.925,"rise":-0.407,"riseRate":-0.9}]}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * stat : {"onedayOrder":500,"onlineNum":400}
         * masters : [{"lot":1,"totalProfit":3051.61,"headUrl":"https://www.tigerwit.com/avatar/1325807_150.jpg","succRate":55.34,"historySum":268,"userCode":"1325807","username":"鹰击长空"},{"lot":0.6,"totalProfit":1305.99,"headUrl":"https://www.tigerwit.com/avatar/1335105_150.jpg","succRate":96,"historySum":200,"userCode":"1335105","username":"新世界"},{"lot":1,"totalProfit":795.99,"headUrl":"https://www.tigerwit.com/avatar/1330625_150.jpg","succRate":88.83,"historySum":90,"userCode":"1330625","username":"正源"}]
         * banners : ["banner1","banner2","banner3"]
         * symbols : [{"market":1.00303,"symbolCn":"澳元加元","symbolEn":"AUDCAD","openPrice":1.00622,"rise":-0.00319,"riseRate":-0.317},{"market":1244.68,"symbolCn":"黄金","symbolEn":"XAUUSD","openPrice":1253.69,"rise":-9.01,"riseRate":-1},{"market":5778,"symbolCn":"澳洲股指","symbolEn":"AUS200","openPrice":5766,"rise":12,"riseRate":0},{"market":0.75851,"symbolCn":"澳元美元","symbolEn":"AUDUSD","openPrice":0.76167,"rise":-0.00316,"riseRate":-0.415},{"market":1.47,"symbolCn":"欧元澳元","symbolEn":"EURAUD","openPrice":1.46918,"rise":8.2E-4,"riseRate":0.056},{"market":1.6777,"symbolCn":"英镑澳元","symbolEn":"GBPAUD","openPrice":1.67393,"rise":0.00377,"riseRate":0.225},{"market":12908.65,"symbolCn":"德国股指","symbolEn":"GER30","openPrice":12822.95,"rise":85.7,"riseRate":1},{"market":21528,"symbolCn":"道琼斯工业指数","symbolEn":"US30","openPrice":21399,"rise":129,"riseRate":1},{"market":44.518,"symbolCn":"西德州原油","symbolEn":"XTIUSD","openPrice":44.925,"rise":-0.407,"riseRate":-0.9}]
         */

        private StatBean stat;
        private List<MastersBean> masters;
        private List<String> banners;
        private List<SymbolsBean> symbols;

        public StatBean getStat() {
            return stat;
        }

        public void setStat(StatBean stat) {
            this.stat = stat;
        }

        public List<MastersBean> getMasters() {
            return masters;
        }

        public void setMasters(List<MastersBean> masters) {
            this.masters = masters;
        }

        public List<String> getBanners() {
            return banners;
        }

        public void setBanners(List<String> banners) {
            this.banners = banners;
        }

        public List<SymbolsBean> getSymbols() {
            return symbols;
        }

        public void setSymbols(List<SymbolsBean> symbols) {
            this.symbols = symbols;
        }

        public static class StatBean {
            /**
             * onedayOrder : 500
             * onlineNum : 400
             */

            private int onedayOrder;
            private int onlineNum;

            public int getOnedayOrder() {
                return onedayOrder;
            }

            public void setOnedayOrder(int onedayOrder) {
                this.onedayOrder = onedayOrder;
            }

            public int getOnlineNum() {
                return onlineNum;
            }

            public void setOnlineNum(int onlineNum) {
                this.onlineNum = onlineNum;
            }
        }

        public static class MastersBean implements Serializable {
            /**
             * lot : 1.0
             * totalProfit : 3051.61
             * headUrl : https://www.tigerwit.com/avatar/1325807_150.jpg
             * succRate : 55.34
             * historySum : 268
             * userCode : 1325807
             * username : 鹰击长空
             */

            private int lot;
            private double totalProfit;
            private String headUrl;
            private double succRate;
            private int historySum;
            private String userCode;
            private String username;

            public int getLot() {
                return lot;
            }

            public void setLot(int lot) {
                this.lot = lot;
            }

            public double getTotalProfit() {
                return totalProfit;
            }

            public void setTotalProfit(double totalProfit) {
                this.totalProfit = totalProfit;
            }

            public String getHeadUrl() {
                return headUrl;
            }

            public void setHeadUrl(String headUrl) {
                this.headUrl = headUrl;
            }

            public double getSuccRate() {
                return succRate;
            }

            public void setSuccRate(double succRate) {
                this.succRate = succRate;
            }

            public int getHistorySum() {
                return historySum;
            }

            public void setHistorySum(int historySum) {
                this.historySum = historySum;
            }

            public String getUserCode() {
                return userCode;
            }

            public void setUserCode(String userCode) {
                this.userCode = userCode;
            }

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }
        }

        public static class SymbolsBean {
            /**
             * market : 1.00303
             * symbolCn : 澳元加元
             * symbolEn : AUDCAD
             * openPrice : 1.00622
             * rise : -0.00319
             * riseRate : -0.317
             */

            private double market;
            private String symbolCn;
            private String symbolEn;
            private double openPrice;
            private double rise;
            private double riseRate;
            private int digits;

            public int getDigits() {
                return digits;
            }

            public void setDigits(int digits) {
                this.digits = digits;
            }

            public double getMarket() {
                return market;
            }

            public void setMarket(double market) {
                this.market = market;
            }

            public String getSymbolCn() {
                return symbolCn;
            }

            public void setSymbolCn(String symbolCn) {
                this.symbolCn = symbolCn;
            }

            public String getSymbolEn() {
                return symbolEn;
            }

            public void setSymbolEn(String symbolEn) {
                this.symbolEn = symbolEn;
            }

            public double getOpenPrice() {
                return openPrice;
            }

            public void setOpenPrice(double openPrice) {
                this.openPrice = openPrice;
            }

            public double getRise() {
                return rise;
            }

            public void setRise(double rise) {
                this.rise = rise;
            }

            public double getRiseRate() {
                return riseRate;
            }

            public void setRiseRate(double riseRate) {
                this.riseRate = riseRate;
            }
        }
    }
}
